package com.spic.business.qrcode.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 290512
 * @create 2021-11-26 10:13
 */
@Data
public class QRCodeResult implements Serializable
{
    private  String id; //业务id
    private  String type; //类型  0 上岗到位  1 培训签到
    private String key; //redis key  uuid
    private String code;  //二维码信息
    private double longitude;//签到经度
    private double latitude;//签到纬度

    private String deptId;

    //服务器时长
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    private String duration;//二维码时长
}
